﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShenJingXXCX.aspx.cs" Inherits="Web.Pages.QuShui.DiXiaS.ChaXunGL.ShenJingXXCX" Theme="Default" %>

<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../../../../JS/jquery.js" type="text/javascript"></script>
    <script src="../../../../JS/AddEditCancel.js" type="text/javascript"></script>
    <link href="../../../../css/inputBgColor.css" rel="stylesheet" />
    <style type="text/css">
        body, html {
            padding: 0;
            margin: 0;
            font-size: 12px;
        }

        #img table tr td div {
            cursor: pointer;
        }
    </style>
    <script type="text/javascript">
        $(function () {
            var height = Math.max(0, document.documentElement.clientHeight) - 90;
            // $("#condition").css("height", height);
        });

        //详细
        function TzSlpc() {
            if (txtYuanJingH.GetText() == '') {
                alert("原深井编号为空，不能匹配水利普查数据！");
            }
            else {
                var jmc = txtYuanJingH.GetText();
                openCenter("/Pages/QuShui/ShuiLiPC/QuShuiJXX.aspx?cz=3&jmc=" + escape(jmc), "820px", "1000px");
            }
        }

        function rowClick() {
            if (gvShenJingXX.GetFocusedRowIndex() != -1) {
                hdCollection.Set("ID", gvShenJingXX.GetRowKey(gvShenJingXX.GetFocusedRowIndex()));
                ASPxCallback1.PerformCallback("setinfo");
            }
        }

        function ASPxCallback1Complete(rs) {
            var arr = rs.split('|');
            var type = arr[0];
            var state = arr[1];
            if (type == "setinfo") {
                txtYongHuH2.SetText(arr[2]);
                txtYongHuM2.SetText(arr[3]);
                txtHuanNeiHW.SetText(arr[4]);
                txJingBianH.SetText(arr[5]);
                txtDiZhi.SetText(arr[6]);
                txtXingZhengQ.SetText(arr[7]);
                txtJingLeiX.SetText(arr[8]);
                txtJingXingZ.SetText(arr[9]);
                txtJingBiaoJ.SetText(arr[10]);
                txtLiuYu.SetText(arr[11]);
                txtYeWuY.SetText(arr[12]);
                txtGuanLiBM.SetText(arr[13]);
                txtShuiZiYFQ.SetText(arr[14]);
                txtCengCi.SetText(arr[15]);
                txtShenDu.SetText(arr[16]);
                txtQuShuiYT.SetText(arr[17]);
                txtShuiLiFP.SetText(arr[18]);
                txtKouJing.SetText(arr[19]);
                txtHangYeFL.SetText(arr[20]);
                memoBeiZhu.SetText(arr[21]);
                txtYuanJingH.SetText(arr[22]);
                txtShuiBiaoSL.SetText(arr[23]);
                txtXuKeZ.SetText(arr[24]);
                txtBenYueSL.SetText(arr[25]);
            }
        }

        function OpenDia() {
            var jbh = txJingBianH.GetText();
            openCenter("../2.YongHuGL/JingXinXWH.aspx?jbh=" + jbh, "800px", "500px");
        }

        function XSorYC() {
            $("#divInfo").toggle();
            if ($("#divInfo").css('display') == 'none') {
                AdjustSize(150, gvShenJingXX);
            }
            else {
                AdjustSize(400, gvShenJingXX);
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
            深井信息查询
        </div>
        <div style="display: none;">
            <dx:ASPxHiddenField ID="hdCollection" ClientInstanceName="hdCollection" runat="server"></dx:ASPxHiddenField>
            <dx:ASPxCallback ID="ASPxCallback1" ClientInstanceName="ASPxCallback1" runat="server" OnCallback="ASPxCallback1_Callback" ClientSideEvents-CallbackComplete="function(s,e){ASPxCallback1Complete(e.result);}"></dx:ASPxCallback>
        </div>
        <asp:UpdatePanel ID="updatePanel1" runat="server">
            <ContentTemplate>
                <div>
                    <div style="border: 1px solid #d0e4fe">
                        <table>
                            <tr>
                                <td style="width: 7%;"><span style="font-size: 12px;">水量年月：</span></td>
                                <td>
                                    <dx:ASPxTextBox runat="server" ID="txtShuiLiangYM" Width="45%" ClientInstanceName="txtShuiLiangYM">
                                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                    </dx:ASPxTextBox>
                                </td>

                                <td>&nbsp;</td>
                                <td style="width: 7%;"><span style="font-size: 12px;">环内环外：</span></td>
                                <td>
                                    <asp:Panel runat="server" ID="Panel1">
                                        <dx:ASPxComboBox runat="server" ID="cmbHuanNeiHW" Width="60%" AutoPostBack="false">
                                            <Items>
                                                <dx:ListEditItem Text="" Value="0" />
                                                <dx:ListEditItem Text="外环线内" Value="1" />
                                                <dx:ListEditItem Text="外环线外" Value="2" />
                                            </Items>
                                        </dx:ASPxComboBox>
                                    </asp:Panel>
                                </td>
                                <td style="width: 6%;"><span style="font-size: 12px;">行政区：</span></td>
                                <td>
                                    <asp:Panel runat="server" ID="Panel2">
                                        <dx:ASPxComboBox runat="server" ID="cmbXingZhengQ" Width="60%">
                                            <Items>
                                                <dx:ListEditItem Text="全部" Value="0" Selected="true" />
                                            </Items>
                                        </dx:ASPxComboBox>
                                    </asp:Panel>
                                </td>
                                <td style="width: 6%;"><span style="font-size: 12px;">业务员：</span></td>
                                <td>
                                    <asp:Panel runat="server" ID="Panel3">
                                        <dx:ASPxComboBox runat="server" ID="cmbYeWuY" Width="60%">
                                        </dx:ASPxComboBox>
                                    </asp:Panel>
                                </td>
                               
                                <td>
                                    <dx:ASPxLoadingPanel runat="server" ID="LoadPanel11" ClientInstanceName="LoadPanel" Text="正在查询"></dx:ASPxLoadingPanel>
                                    <dx:ASPxButton runat="server" ID="btnChaXun" Text="查询" OnClick="btnChaXun_Click" UseSubmitBehavior="false">
                                        <ClientSideEvents Click="function(s,e){LoadPanel.Show();}" />
                                    </dx:ASPxButton>
                                </td>
                                 <td>
                                      <dx:ASPxButton runat="server" ID="btnXiuGai" Text="修改"  Visible="false" UseSubmitBehavior="false">
                                        <ClientSideEvents Click="function(s,e){OpenDia();}"/>
                                    </dx:ASPxButton>  
                                </td>  
                                <td>
                                    <dx:ASPxButton ID="btnExport2" runat="server" Text="导出EXCEL" UseSubmitBehavior="false">
                                        <ClientSideEvents Click="function(s,e){btnExport.OnClick();}" />
                                    </dx:ASPxButton>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div>
                        <fieldset style="border: 1px solid #d0e4fe">
                            <legend>查询条件</legend>
                            <div>
                                <div style="float: left; border: 1px solid #d0e4fe; width: 15%;" id="condition">
                                    <table style="height: 270px; width: 100%;">
                                        <tr>
                                            <td>用户号<%--<dx:ASPxRadioButton runat="server" ID="chkYongHuH" Checked="false" Text="用户号" ClientInstanceName="chkYongHuH" GroupName="1"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtYongHuH" Width="80%">
                                                    <%--<ClientSideEvents GotFocus="function(s,e){chkYongHuH.SetChecked(true);}" />--%>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>用户名<%--<dx:ASPxRadioButton runat="server" ID="chkYongHuM" Text="用户名" GroupName="1" ClientInstanceName="chkYongHuM"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtYongHuM" Width="100%">
                                                    <%--<ClientSideEvents GotFocus="function(s,e){chkYongHuM.SetChecked(true);}" />--%>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>用户地址<%--<dx:ASPxRadioButton runat="server" ID="chkYongHuDZ" Text="用户地址" GroupName="1" ClientInstanceName="chkYongHuDZ"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtYongHuDZ" Width="100%">
                                                    <%--<ClientSideEvents GotFocus="function(s,e){chkYongHuDZ.SetChecked(true);}" />--%>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>井编号<%--<dx:ASPxRadioButton runat="server" ID="rabJingBianH" Text="井编号" GroupName="1" ClientInstanceName="rabJingBianH"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtJingBianH" Width="100%">
                                                    <%-- <ClientSideEvents GotFocus="function(s,e){rabJingBianH.SetChecked(true);}" />--%>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>许可证号<%--<dx:ASPxRadioButton runat="server" ID="rabXuKeZH" Text="许可证号" GroupName="1" ClientInstanceName="rabXuKeZH"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtXuKeZH" Width="100%">
                                                    <%-- <ClientSideEvents GotFocus="function(s,e){rabXuKeZH.SetChecked(true);}" />--%>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>取水地址<%--<dx:ASPxRadioButton runat="server" ID="rabQuShuiDZ" Text="取水地址" GroupName="1" ClientInstanceName="rabQuShuiDZ"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtQuShuiDZ" Width="100%">
                                                    <%--<ClientSideEvents GotFocus="function(s,e){rabQuShuiDZ.SetChecked(true);}" />--%>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>取水用途<%--<dx:ASPxRadioButton runat="server" ID="rabQuShuiYT" Text="取水用途" GroupName="1" ClientInstanceName="rabQuShuiYT"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxComboBox ID="cmbQuShuiYT" ClientInstanceName="cmbQuShuiYT" runat="server" ValueType="System.String" Width="100%">
                                                    <%--<ClientSideEvents GotFocus="function(s,e){rabQuShuiYT.SetChecked(true);}" />--%>
                                                </dx:ASPxComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>行业分类<%--<dx:ASPxRadioButton runat="server" ID="rabHangYeLX" Text="行业分类" GroupName="1" ClientInstanceName="rabHangYeLX"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td>
                                                <dx:ASPxComboBox ID="cmbHangYeLX" ClientInstanceName="cmbHangYeLX" runat="server" ValueType="System.String" Width="100%">
                                                    <%--<ClientSideEvents GotFocus="function(s,e){rabHangYeLX.SetChecked(true);}" />--%>
                                                </dx:ASPxComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>管理部门<%--<dx:ASPxRadioButton runat="server" ID="rabGuanLiBM" Text="管理部门" GroupName="1" ClientInstanceName="rabGuanLiBM"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxComboBox ID="cbmGuanLiBM" ClientInstanceName="cbmGuanLiBM" runat="server" Width="100%">
                                                    <%--<ClientSideEvents GotFocus="function(s,e){rabGuanLiBM.SetChecked(true);}" />--%>
                                                </dx:ASPxComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>井类型<%--<dx:ASPxRadioButton runat="server" ID="rabJingLeiX" Text="井类型" GroupName="1" ClientInstanceName="rabJingLeiX"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxComboBox ID="cmbJingLeiX" ClientInstanceName="cmbJingLeiX" runat="server" ValueType="System.String" Width="100%">
                                                    <Items>
                                                        <dx:ListEditItem Text="" Value="" />
                                                        <dx:ListEditItem Text="常用井" Value="1" />
                                                        <dx:ListEditItem Text="采灌井" Value="2" />
                                                        <dx:ListEditItem Text="专灌井" Value="3" />
                                                        <dx:ListEditItem Text="矿泉井" Value="4" />
                                                    </Items>
                                                    <%--<ClientSideEvents GotFocus="function(s,e){rabJingLeiX.SetChecked(true);}" />--%>
                                                </dx:ASPxComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>井状态<%--<dx:ASPxRadioButton runat="server" ID="rabJingZhuangT" Text="井状态" GroupName="1" ClientInstanceName="rabJingZhuangT"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxComboBox ID="cmbJingZhuangT" ClientInstanceName="cmbJingZhuangT" runat="server" ValueType="System.String" Width="100%">
                                                    <Items>
                                                        <dx:ListEditItem Text="" Value="" />
                                                        <dx:ListEditItem Text="空状态" Value="1" />
                                                        <dx:ListEditItem Text="备用井" Value="2" />
                                                        <dx:ListEditItem Text="更新报废井" Value="3" />
                                                        <dx:ListEditItem Text="更新井" Value="4" />
                                                        <dx:ListEditItem Text="报废井" Value="5" />
                                                        <dx:ListEditItem Text="填没井" Value="6" />
                                                        <dx:ListEditItem Text="注销许可证" Value="7" />
                                                        <dx:ListEditItem Text="注销井恢复使用" Value="8" />
                                                    </Items>
                                                    <%--<ClientSideEvents GotFocus="function(s,e){rabJingZhuangT.SetChecked(true);}" />--%>
                                                </dx:ASPxComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>井标记<%--<dx:ASPxRadioButton runat="server" ID="rabJingBiaoJ" Text="井标记" GroupName="1" ClientInstanceName="rabJingBiaoJ"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxComboBox ID="cmbJingBiaoJ" ClientInstanceName="cmbJingBiaoJ" runat="server" ValueType="System.String" Width="100%">
                                                    <Items>
                                                        <dx:ListEditItem Text="" Value="" />
                                                    </Items>
                                                    <%-- <ClientSideEvents GotFocus="function(s,e){rabJingBiaoJ.SetChecked(true);}" />--%>
                                                </dx:ASPxComboBox>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td>原井号<%--<dx:ASPxRadioButton runat="server" ID="rabYjingH" Text="原井号" GroupName="1" ClientInstanceName="rabYjingH"></dx:ASPxRadioButton>--%>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtYjingH" Width="100%">
                                                    <%--<ClientSideEvents GotFocus="function(s,e){rabYjingH.SetChecked(true);}" />--%>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <dx:ASPxButton ID="btnSLPC" ClientInstanceName="btnSLPC" runat="server" Text="水利普查数据" Visible="false" UseSubmitBehavior="false">
                                                    <ClientSideEvents Click="function(s,e){TzSlpc();}" />
                                                </dx:ASPxButton>
                                            </td>
                                        </tr>

                                    </table>
                                </div>
                            </div>
                            <div style="float: right; border: 1px solid #d0e4fe; width: 84%;">
                                <div id="img">
                                    <table>
                                        <tr>
                                            <td>
                                                <dx:ASPxLabel ID="zjl" Text="共0条" runat="server" ForeColor="Blue"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                                <div>
                                    <dx:ASPxGridView ID="gvShenJingXX" ClientInstanceName="gvShenJingXX" runat="server" AutoGenerateColumns="False" KeyFieldName="ID"
                                        ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" EnableCallBacks="true" SettingsBehavior-AllowSort="true">
                                        <Columns>
                                            <dx:GridViewDataTextColumn FieldName="S_JINGBH" Caption="井编号" Width="60">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_LAOBIANH" Caption="原井号" Width="80">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_XUKEZHENGBH" Caption="许可证" Width="60">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="60">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="100">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="JINLX" Caption="井类型" Width="100">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="JINXZ" Caption="井性质" Width="100">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="JINBJ" Caption="井标记" Width="100">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_QUSHUIMC" Caption="取水用途" Width="80">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_FENLEIMC" Caption="行业分类" Width="80">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_BUMENMC" Caption="管理部门" Width="200">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_XINGZHENGQBH" Caption="行政区号" Width="60">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_XINGZHENGQM" Caption="行政区名" Width="60">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="HUANXIANBJ" Caption="环内环外" Width="60">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_DIZHI" Caption="用户地址" Width="100">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_JINGDIZ" Caption="取水地址" Width="100">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_YEWUY" Caption="业务员" Width="60">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_LIUYUMC" Caption="流域" Width="80">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_SHUIZIYMC" Caption="水资源分区" Width="80">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_SHUILIFPMC" Caption="水利分片" Width="80">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="BIAOSHU" Caption="水表数量" Width="50">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="ZSL" Caption="本月水量" Width="60">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_BEIZHU" Caption="备注" Width="200">
                                            </dx:GridViewDataTextColumn>
                                            
                                            <dx:GridViewDataTextColumn FieldName="I_CENG" Caption="层次" Width="50">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_SHENGDU" Caption="深度" Width="50">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="I_KONGJING" Caption="口径" Width="50">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_KAISHINY" Caption="增井日期" Width="85">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_JIESHUNY" Caption="销井日期" Width="85" PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="D_JINGRQ" Caption="凿井日期" Width="85" PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="D_CAOZUORQ" Caption="修改日期" Width="85" PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_XUKESLH" Caption="许可受理号" Width="85">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="D_XUKEQSSJ" Caption="许可起始日期" Width="85" PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="D_XUKEJSSJ" Caption="许可终止日期" Width="85" PropertiesTextEdit-DisplayFormatString="yyyy-MM-dd">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_ZUOBIAO_X" Caption="X坐标" Width="60">
                                            </dx:GridViewDataTextColumn>
                                            <dx:GridViewDataTextColumn FieldName="S_ZUOBIAO_Y" Caption="Y坐标" Width="60">
                                            </dx:GridViewDataTextColumn>
                                        </Columns>
                                        <Settings VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto" />
                                        <SettingsPager Mode="EndlessPaging" PageSize="100" />
                                        <Settings ShowFooter="True" />
                                        <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                        <ClientSideEvents FocusedRowChanged="function(s,e){rowClick();}" />
                                        <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                        <ClientSideEvents Init="function(s,e){AdjustSize(450,gvShenJingXX);}" />
                                    </dx:ASPxGridView>
                                </div>
                                <div>
                                    <input type="button" id="yc" value="隐藏或显示详情" name="btnTest" onclick="XSorYC()" />
                                </div>
                                <br />
                                <hr />
                                <div id="divInfo">
                                    <table style="text-align: right; width: 100%;" border="0">
                                        <tr>
                                            <td style="width: 10%;"><span style="font-size: 12px;">用户号：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtYongHuH2" ClientEnabled="false" Width="80%" ClientInstanceName="txtYongHuH2"></dx:ASPxTextBox>
                                            </td>
                                            <td style="width: 10%;"><span style="font-size: 12px;">用户名：</span></td>
                                            <td colspan="3">
                                                <dx:ASPxTextBox runat="server" ID="txtYongHuM2" ClientEnabled="false" Width="100%" ClientInstanceName="txtYongHuM2"></dx:ASPxTextBox>
                                            </td>
                                            <td style="width: 10%;"><span style="font-size: 12px;">环内环外：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtHuanNeiHW" ClientEnabled="false" Width="100%" ClientInstanceName="txtHuanNeiHW"></dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>

                                            <td><span style="font-size: 12px;">井编号：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txJingBianH" ClientEnabled="false" Width="80%" ClientInstanceName="txJingBianH"></dx:ASPxTextBox>
                                            </td>
                                            <td><span style="font-size: 12px;">地址：</span></td>
                                            <td colspan="3">
                                                <dx:ASPxTextBox runat="server" ID="txtDiZhi" ClientEnabled="false" Width="100%" ClientInstanceName="txtDiZhi"></dx:ASPxTextBox>
                                            </td>
                                            <td><span style="font-size: 12px;">行政区：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtXingZhengQ" ClientEnabled="false" Width="100%" ClientInstanceName="txtXingZhengQ"></dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><span style="font-size: 12px;">原井号：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtYuanJingH" ClientEnabled="false" Width="80%" ClientInstanceName="txtYuanJingH"></dx:ASPxTextBox>
                                            </td>
                                            <td><span style="font-size: 12px;">许可证：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtXuKeZ" ClientEnabled="false" Width="80%" ClientInstanceName="txtXuKeZ"></dx:ASPxTextBox>
                                            </td>
                                            <td style="width: 10%;"><span style="font-size: 12px;">取水用途：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtQuShuiYT" ClientEnabled="false" Width="100%" ClientInstanceName="txtQuShuiYT"></dx:ASPxTextBox>
                                            </td>
                                            <td style="width: 10%;"><span style="font-size: 12px;">行业分类：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtHangYeFL" ClientEnabled="false" Width="100%" ClientInstanceName="txtHangYeFL"></dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td><span style="font-size: 12px;">井类型：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtJingLeiX" ClientEnabled="false" Width="80%" ClientInstanceName="txtJingLeiX"></dx:ASPxTextBox>
                                            </td>
                                            <td><span style="font-size: 12px;">井性质：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtJingXingZ" ClientEnabled="false" Width="80%" ClientInstanceName="txtJingXingZ"></dx:ASPxTextBox>
                                            </td>
                                            <td style="width: 10%;"><span style="font-size: 12px;">井标记：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtJingBiaoJ" ClientEnabled="false" Width="100%" ClientInstanceName="txtJingBiaoJ"></dx:ASPxTextBox>
                                            </td>
                                            <td style="width: 10%;"><span style="font-size: 12px;">流域：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtLiuYu" ClientEnabled="false" Width="100%" ClientInstanceName="txtLiuYu"></dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 10%;"><span style="font-size: 12px;">业务员：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtYeWuY" ClientEnabled="false" Width="80%" ClientInstanceName="txtYeWuY"></dx:ASPxTextBox>
                                            </td>
                                            <td><span style="font-size: 12px;">管理部门：</span></td>
                                            <td colspan="3">
                                                <dx:ASPxTextBox runat="server" ID="txtGuanLiBM" ClientEnabled="false" Width="100%" ClientInstanceName="txtGuanLiBM"></dx:ASPxTextBox>
                                            </td>
                                            <td><span style="font-size: 12px;">水资源分区：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtShuiZiYFQ" ClientEnabled="false" Width="100%" ClientInstanceName="txtShuiZiYFQ"></dx:ASPxTextBox>
                                            </td>

                                        </tr>
                                        <tr>
                                            <td><span style="font-size: 12px;">层次：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtCengCi" ClientEnabled="false" Width="80%" ClientInstanceName="txtCengCi"></dx:ASPxTextBox>
                                            </td>
                                            <td><span style="font-size: 12px;">深度：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtShenDu" ClientEnabled="false" Width="80%" ClientInstanceName="txtShenDu"></dx:ASPxTextBox>
                                            </td>
                                            <td><span style="font-size: 12px;">口径：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtKouJing" ClientEnabled="false" Width="80%" ClientInstanceName="txtKouJing"></dx:ASPxTextBox>
                                            </td>
                                            <td><span style="font-size: 12px;">水利分片：</span></td>
                                            <td>
                                                <dx:ASPxTextBox runat="server" ID="txtShuiLiFP" ClientEnabled="false" Width="100%" ClientInstanceName="txtShuiLiFP"></dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-size: 12px;vertical-align:top;padding-top:4px"><span">水表数量：</span></td>
                                            <td style="font-size: 12px;vertical-align:top">
                                                <dx:ASPxTextBox runat="server" ID="txtShuiBiaoSL" ClientEnabled="false" Width="100%" ClientInstanceName="txtShuiBiaoSL"></dx:ASPxTextBox>
                                            </td>
                                            <td style="font-size: 12px;vertical-align:top;padding-top:4px"><span>本月水量：</span></td>
                                            <td style="font-size: 12px;vertical-align:top">
                                                <dx:ASPxTextBox runat="server" ID="txtBenYueSL" ClientEnabled="false" Width="100%" ClientInstanceName="txtBenYueSL"></dx:ASPxTextBox>
                                            </td>
                                            <td style="font-size: 12px;vertical-align:top;padding-top:4px"><span>备注：</span></td>
                                            <td colspan="3">
                                                <dx:ASPxMemo runat="server" ID="memoBeiZhu" ClientEnabled="false" Width="100%" Rows="6" ClientInstanceName="memoBeiZhu"></dx:ASPxMemo>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </fieldset>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>

        <div style="display: none;">
            <dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server"></dx:ASPxGridViewExporter>
            <dx:ASPxButton ID="btnExport" runat="server" ClientInstanceName="btnExport" Text="导出EXCEL" OnClick="btnExport_Click" UseSubmitBehavior="false">
            </dx:ASPxButton>
        </div>
    </form>

</body>
</html>
